package pattern.adapter;

/**
 * Created by boot on 9/1/15.
 */
public class TowPlugAdapter implements ThreePlug {
    private GBTowPlug plug;

    public TowPlugAdapter(GBTowPlug plug) {
        this.plug = plug;
    }

    public void power() {
        System.out.println("转换为三角插座");
        plug.powerWithTwo();
    }
}
